package models

import (
	"github.com/tal-tech/go-zero/core/stores/cache"
	"github.com/tal-tech/go-zero/core/stores/sqlx"
)

type (
	VoteModelInter interface {
		GetInfo(order_sn string) (string, error)
	}
	defaultModelImpl struct {
		conn       sqlx.SqlConn
		table_name string
		c          *cache.CacheConf
	}
)

func NewDefaultModelImpl(conn sqlx.SqlConn, conf *cache.CacheConf) VoteModelInter {
	return &defaultModelImpl{conn: conn, table_name: "kc_pay_order", c: conf}
}
func (d *defaultModelImpl) GetInfo(order_sn string) (string, error) {
	return "1000", nil
}
